public class SolutionSearch {
String searchSolutionText;
List<Solution> results;
public String getSearchSolutionText() {
return searchSolutionText;
}
public void setSearchSolutionText(String s) {
searchSolutionText = s;
}
public List<Solution> getResults() {
return results;
}
public PageReference doSearch() {
results = (List<Solution>)[FIND :searchSolutionText RETURNING Solution(SolutionName, SolutionNote, CreatedDate)][0];
return null;
}
}